libxc, libxl, hvmloader: strip out outdated VM generation ID implementation
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 18 Jun 2014 16:12:54 +0000 (17:12 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 27 Jun 2014 13:13:22 +0000 (14:13 +0100)
commit9d3946cd9bf854a5dffb627c21bdb5112b8a25ac
treec723e5eaae68ebe468b3b873690ba63658b29dc3
parentbf19240f999db9f8c6eb90399cffc325d055af82
libxc, libxl, hvmloader: strip out outdated VM generation ID implementation

The VM generation ID support in libxc/libxl was based on a draft
specification which subsequently changed considerably.  Remove much of
the code in anticipation of introducing something simpler that
conforms to the current specification from Microsoft.

Switch to using a HVM param (HVM_PARAM_VM_GENERATION_ID_ADDR) instead
of the hvmloader/generation-id-address XenStore key.  This simplifies
save/restore since it only needs to transfer the value of this param.

There are no changes to the migration stream format or the public
libxl API.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- updated xc_nomigrate.c for interface change ]
tools/firmware/hvmloader/acpi/build.c
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
tools/libxc/xc_nomigrate.c
tools/libxc/xenguest.h
tools/libxl/libxl_create.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_save_callout.c
tools/libxl/libxl_save_helper.c
tools/libxl/libxl_save_msgs_gen.pl